<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return{
      name:'测试provide和inject'
    }
  },
  provide(){
    return{
      ps: 'hhhh',
      name: this.name
    }
  },
}
</script>
